#pragma once
#include "entitybody.h"
class NodeEntityBody :
	public EntityBody
{

	Ogre::SceneNode *node;
	Ogre::SceneManager * sceneMgr;
	

public:

	void setPosition(Ogre::Vector3 position);
	Ogre::Vector3 getPosition();

	void setOrientation(Ogre::Quaternion orientation);
	Ogre::Quaternion getOrientation();

	void setLocalPosition(Ogre::Vector3 position);
	Ogre::Vector3 getLocalPosition();

	void setLocalOrientation(Ogre::Quaternion orientation);
	Ogre::Quaternion getLocalOrientation();

	void setLookAt(Ogre::Vector3 target);
	Ogre::Vector3 getFacingDir();

	void addForce(Ogre::Vector3 force);
	void addTorque(Ogre::Vector3 torque);

	Ogre::SceneNode* getParentNode();

	virtual void killBody();


	NodeEntityBody(Ogre::SceneNode * n, Ogre::SceneManager * scnMgr);
	virtual ~NodeEntityBody(void);



};

